// -------------------------------------------------------------- -*- C++ -*-
// Studio commands
// 

command Quit {
    label   "&menu_quit";
    tooltip   "&ttmenu_quit";
    acceleratorText "Ctrl+Q";
    acceleratorDefinition "<Ctrl><Key Q>";
    prompt  "&quitEditor";
    bitmap  "icquit";
    category studio;
}

command ShowInfoPanel {
    label "&infoPanel";
    prompt "&infoPanelPrompt";
    category studio;
    category panel;
}

command EditGadgetPalette {
    label "&editGadgetPalette";
    prompt "&editGadgetPalettePrompt";
    category studio;
}

command ReloadGadgetPalette {
    label "&reloadGadgetPalette";
    prompt "&reloadGadgetPalettePrompt";
    category studio;
}

command EditGraphicPalette {
    interactive false;
    label "&editGraphicPalette";
    prompt "&editGraphicPalettePrompt";
    category studio;
}

command ReloadGraphicPalette {
    label "&reloadGraphicPalette";
    prompt "&reloadGraphicPalettePrompt";
    category studio;
}

command PlayerStart {
    label "&playerStart";
    prompt "&playerStartPrompt";
    category player;
}

command PlayerStop {
    label "&playerStop";
    prompt "&playerStopPrompt";
    category player;
}

command PlayerPlay {
    label "&playerPlay";
    prompt "&playerPlayPrompt";
    category player;
}


command PlayerSaveAs {
    label "&playerSaveAs";
    prompt "&playerSaveAsPrompt";
    category player;
}

command PlayerOpen {
    label "&playerOpen";
    prompt "&playerOpenPrompt";
    category player;
}

command PlayerSpeed {
    label  "&playerSpeed";
    prompt "&playerSpeedPrompt";
    category player;
}

command NewEventSequence {
    label "&newEventSeq";
    prompt "&newEventSeqP";
    bitmap "ivicn39.gif";
    category player;
    messages ChangeEventSequence, ChangeEventSequenceFileName;
}

command OpenEventSequence {
    label  "&openEventSeq";
    prompt "&openEventSeqP";
    bitmap "icopen";
    category player;
    messages ChangeEventSequence, ChangeEventSequenceFileName;
}

command ExecuteEventSequence {
    label  "&execEventSeq";
    prompt "&execEventSeqP";
    bitmap "icredo";
    category player;
}

command SaveEventSequence {
    label "&saveEventSeq";
    prompt "&saveEventSeqP";
    bitmap "icsave";
    category player;
}

command SaveEventSequenceAs {
    label "&saveEventSeqAs";
    prompt "&saveEventSeqAsP";
    bitmap "ivicn38.gif";
    category player;
    messages ChangeEventSequenceFileName;
}

command ShowEventSequencerPanel {
    label "&eventSeqPan";
    prompt "&showEventSeqPanP";
    category player;
    category panel;
}

command HideEventSequencerPanel {
    label "&hideEventSeqPan";
    bitmap "icquit";
    category player;
}

// Panel commands

command ShowCommandPanel {
    label  "&showCmdPan";
    tooltip  "&ttshowCmdPan";
    bitmap "iccmdpan";
    prompt "&cmdPanPrompt";
    acceleratorText "Ctrl+Shift+C";
    acceleratorDefinition "<Ctrl><Shift><Key C>";
    category panel;
}

command ShowMainPanel {
    label  "&showMainPan";
    category panel;
}; 

command ShowMessagePanel {
    label  "&showMessagePanel";
    prompt "&msgPanPrompt";
    acceleratorText "Ctrl+Shift+M";
    acceleratorDefinition "<Ctrl><Shift><Key M>";
    category panel;
}

command HideMessagePanel {
    label "&hideMessagePanel";
    category panel;
}

command ShowGadgetPalette {
    label  "&showGadgetPalette";
    prompt "&gadPalPrompt";
    category panel;
}

command HideGadgetPalette {
    label "&hideGadgetPalette";
    category panel;
}

command ShowGraphicPalette {
    label "&showGraphicPalette";
    prompt "&2dPalPrompt";
    category panel;
}

command HideGraphicPalette {
    label "&hideGraphicPalette";
    category panel;
}

command ShowGridPanel {
    label "&showGridPanel";
    prompt "&gridPanPrompt";
    category panel;
}

command HideGridPanel {
    label "&hideGridPanel";
    category panel;
}

command ShowCallbackInspector {
    label  "&showCallbackInspector";
    prompt "&showCallbackInspectorP";
    category panel;
}

command ShowResourcePanel {
    label "&showResourcePanel";
    tooltip "&ttshowResourcePanel";
    bitmap "icrespan";
    prompt "&resPanPrompt";
    category panel;
};

command HideResourcePanel {
    label "&hideResourcePanel";
    category panel;
};

command ShowAlignPanel {
    label "&showAlignPanel";
    tooltip "&ttshowAlignPanel";
    bitmap "icalign";
    acceleratorText "Ctrl+Shift+K";
    acceleratorDefinition "<Ctrl><Shift><Key K>";
    prompt "&alignPanPrompt";
    category align;
    category panel;
};

command ShowAttachPanel {
    label "&showAttachPanel";
    acceleratorText "Ctrl+Shift+A";
    acceleratorDefinition "<Ctrl><Shift><Key A>";
    prompt "&attPanPrompt";
    category panel;
};

command HideAttachPanel {
    label "&hideAttachPanel";
    category panel;
};

command ShowErrorPanel {
    label  "&merrors";
    prompt "&errorsP";
    acceleratorText "Ctrl+Shift+E";
    acceleratorDefinition "<Ctrl><Shift><Key E>";
    category panel;
};

command ShowLayerPanel {
    label  "&layPan";
    prompt "&layPanP";
    category panel;
}

command InspectPanel {
    label  "&inspPan";
    prompt "&inspPanPrompt";
    bitmap "icinsp";
    category application;
};

// Inspector 

command ShowInspector {
    label "&inspect";
    tooltip "&ttinspect";
    prompt "&inspSelObj";
    bitmap "icinsp";
    category inspector;
    category panel;
}

command HideInspector {
    label "&hideInspector";
    bitmap  "icquit";
    category inspector;
}

// Edit

command SelectAll {
    label  "&selectAll";
    prompt "&selectAllPrompt";
    acceleratorText "Ctrl+A";
    acceleratorDefinition "<Ctrl><Key A>";
    category edit;
}

command UnDo {
    label  "&unDo";
    tooltip  "&ttunDo";
    prompt "&unDoPrompt";
    acceleratorText "Ctrl+Z";
    acceleratorDefinition "<Ctrl><Key Z>";
    bitmap "icundo";
    category edit;
}

command ReDo {
    label  "&reDo";
    tooltip  "&ttreDo";
    prompt "&reDoPrompt";
    acceleratorText "Ctrl+R";
    acceleratorDefinition "<Ctrl><Key R>";
    bitmap "icredo";
    category edit;
}

command Duplicate {
    label  "&duplicate";
    tooltip  "&ttduplicate";
    prompt "&duplicatePrompt";
    acceleratorText "Ctrl+D";
    acceleratorDefinition "<Ctrl><Key D>";
    bitmap "icdup";
    category edit;
}

command Push {
    label  "&pushCmd";
    prompt "&pushCmdP";
    category edit;
}

command Pop {
    label  "&popCmd";
    prompt "&popCmdP";
    category edit;
}

command ClipboardCopy {
    label  "&mcopy";
    tooltip  "&ttmcopy";
    bitmap "iccopy";
    acceleratorText "Ctrl+C";
    acceleratorDefinition "<Ctrl><Key C>";
    prompt "&copyPrompt";
    category edit;
}

command ClipboardCut {
    label  "&mcut";
    tooltip  "&ttmcut";
    bitmap "iccut";
    acceleratorText "Ctrl+X";
    acceleratorDefinition "<Ctrl><Key X>";
    prompt "&cutPrompt";
    category edit;
}

command ClipboardPaste {
    label  "&mpaste";
    tooltip  "&ttmpaste";
    bitmap "icpaste";
    acceleratorText "Ctrl+V";
    acceleratorDefinition "<Ctrl><Key V>";
    prompt "&pastePrompt";
    category edit;
}

command Delete {
    label  "&delete";
    tooltip  "&ttdelete";
    prompt "&delSelObjs";
    acceleratorText "Del";
    bitmap "icdel";
    messages ObjectDeleted;
    category edit;
}

command RemoveAllAttachments {
    label  "&removeAllAttachments";
    prompt "&removeAllAttachmentsP";
    category attachments;
}

command RemoveAttachments {
    label  "&removeAttachments";
    prompt "&removeAttachmentsP";
    category attachments;
}

command AddObject {
    interactive false;
    messages 	AddObject;
}

command AddIcon {
    label "IlvIcon";
    prompt "&addIconPrompt";
    category add;
}

command AddTransparentIcon {
    label "IlvTransparentIcon";
    prompt "&transpIconPrompt";
    category add;
}

command AddZoomableIcon {
    label "IlvZoomableIcon";
    prompt "&zoomIconPrompt";
    category add;
}

command AddZoomableTransparentIcon {
    label "IlvZoomableTransparentIcon";
    prompt "&zoomTranspIconPrompt";
    category add;
}

command AddNumberField {
    // interactive false;
    label "IlvNumberField";
    category add;
}

command AddPasswordTextField {
    interactive false;
    label "IlvPasswordTextField";
    category add;
};

command AddDateField {
    interactive false;
    label "IlvDateField";
    category add;
};

command GroupIntoGraphicSet {
    label  "IlvGraphicSet";
    prompt "&graphsetPrompt";
    acceleratorText "Ctrl+G";
    acceleratorDefinition "<Ctrl><Key G>";
    category group;
}

command GroupIntoSelector {
    label  "IlvSelector";
    prompt "&selectorPrompt";
    category group;
}

command GroupIntoSmartSet {
    label  "IlvSmartSet";
    prompt "&smartSetPrompt";
    category group;
}

command UnGroup {
    label "&ungroup";
    prompt "&ungroupPrompt";
    acceleratorText "Ctrl+U";
    acceleratorDefinition "<Ctrl><Key U>";
    category group;
}

command MoveObject {
    interactive false;
    messages    MoveObject;
}

command ResizeObject {
    interactive false;
    messages    ResizeObject;
}

command SetObjectName {
    interactive false;
    messages    SetObjectName;
}

command SetObjectCallback {
    interactive false;
    messages    SetObjectCallback;
}

command SetObjectThickness {
    interactive false;
    messages    SetObjectThickness;
}

command SetObjectLayer {
    interactive false;
    messages    SetObjectLayer;
}

command AlignLeft {
    label  "&alignLeft";
    prompt "&alignLeftPrompt";
    bitmap "icalleft.gif";
    category align;
}

command AlignRight {
    label  "&alignRight";
    prompt "&alignRightPrompt";
    bitmap "icalrght.gif";
    category align;
}

command AlignVertical {
    label  "&alignVertical";
    prompt "&alignVerticalPrompt";
    bitmap "icalvcnt.gif";
    category align;
}

command SameWidth {
    label  "&sameWidth";
    prompt "&sameWidthPrompt";
    bitmap "icalsamw.gif";
    category align;
}

command HorizontalSpaces {
    label  "&horizontalDistribute";
    prompt "&horizontalDistributePrompt";
    bitmap "icalhspc.gif";
    category align;
}

command AlignTop {
    label  "&alignTop";
    prompt "&alignTopPrompt";
    bitmap "icaltop.gif";
    category align;
}

command AlignBottom {
    label  "&alignBottom";
    prompt "&alignBottomPrompt";
    bitmap "icalbot.gif";
    category align;
}

command AlignHorizontal {
    label  "&alignHorizontal";
    prompt "&alignHorizontalPrompt";
    bitmap "icalhcnt.gif";
    category align;
}

command SameHeight {
    label  "&sameHeight";
    prompt "&sameHeightPrompt";
    bitmap "icalsamh.gif";
    category align;
}

command VerticalSpaces {
    label  "&verticalDistribute";
    prompt "&verticalDistributePrompt";
    bitmap "icalvspc.gif";
    category align;
}

// Buffer

command Refresh {
    label  "&refresh";
    prompt "&redrawWorkSpace";
    category buffer;
}

command SelectBuffer {
    label  "&selectBuffer";
    messages SelectBuffer;
    category buffer;
}

command NewBuffer {
    label "&mnew";
    tooltip "&ttmnew";
    bitmap "icnew";
    acceleratorText "Ctrl+N";
    acceleratorDefinition "<Ctrl><Key N>";
    prompt "&newBufPrompt";
    messages SelectBuffer;
    category buffer;
}

command NewGadgetBuffer {
    label   "&newGadgetBuffer";
    prompt  "&newGadgetBufferP";
    category buffer;
    // this command execute the NewBuffer command
}

command NewGraphicBuffer {
    label "&newGraphicBuffer";
    prompt "&newGraphicBufferP"
    category buffer;
    category 2d;
    // this command execute the NewBuffer command
}

command NewGrapherBuffer {
    label "&newGrapherBuffer";
    prompt "&newGrapherBufferP"
    category buffer;
    category grapher;
    // this command execute the NewBuffer command
}

command OpenBuffer {
    label "&mopen...";
    tooltip "&ttmopen...";
    acceleratorText "Ctrl+O";
    acceleratorDefinition "<Ctrl><Key O>";
    prompt "&openData";
    bitmap "icopen";
    messages SelectBuffer;
    category buffer;
}

command InsertBuffer {
    interactive false;
    label "&minsert...";
    prompt "&insBufPrompt";
    category buffer;
}

command CloseBuffer {
    label "&mclose";
    prompt "&closeBufPrompt";
    messages CloseBuffer, SelectBuffer;
    category buffer;
}

command CloseAllBuffers {
    label "&mcloseAll";
    prompt "&closeAllBufPrompt";
    messages CloseBuffer, SelectBuffer;
    category buffer;
}

command RevertBuffer {
    label  "&revert";
    prompt "&revertP";
    messages RevertBuffer;
    category buffer;
}

command SaveBuffer {
    label  "&msave";
    tooltip  "&ttmsave";
    acceleratorText "Ctrl+S";
    acceleratorDefinition "<Ctrl><Key S>";
    prompt "&saveData";
    messages SaveBuffer;
    bitmap "icsave";
    category buffer;
}

command SaveBufferAs {
    label "&msaveAs...";
    tooltip "&ttmsaveAs...";
    prompt "&saveBufAsPrompt";
    messages SaveBuffer, BufferRenamed;
    bitmap "icsaveas";
    category buffer;
}

command GenerateStringData {
    label  "&genStringData...";
    prompt "&genStringDataPrompt";
    category buffer;
};

command FitToContents {
    label "&fitToContents";
    prompt "&fitContPrompt";
    category buffer;
}

command TestPanel {
    label "&mtest";
    tooltip "&ttmtest";
    toggleLabel "&stopTest";
    prompt "&testCurPanel";
    togglePrompt "&stopTest";
    bitmap "icrun";
    category buffer;
}

command ResizePanel {
    label "&resizePanel...";
    category buffer;
}

command PrintBuffer {
    label "&printBuffer";
    prompt "&printBufferPrompt";
    category buffer;
}

command PostScript {
    label  "&postScript...";
    prompt "&postScriptPrompt";
    category buffer;
}

// Editor properties

command DoubleBuffering {
    label "&doubleBuffering";
    category studio;
    messages DoubleBuffering;
}

command OpaqueMoving {
    label "&opaqueMove";
    category studio;
    messages OpaqueMoving;
}

command WindowsLook {
    label "&wlook";
    prompt "&wlookPrompt";
    category studio;
    category look;
    selector look;
}

command Windows95Look {
    label "&w95look";
    prompt "&w95lookPrompt";
    category studio;
    category look;
    selector look;
}

command MotifLook {
    label "&mlook";
    prompt "&mlookPrompt";
    category studio;
    category look;
    selector look;
};

command LockInspector {
    label  "&lockInspector";
    prompt "&lockInspectorPrompt";
    category studio;
    category inspector;
}

// Meta

// Modes

command SelectSelectionMode {
    label "&selectionMode";
    tooltip "&ttselectionMode";
    prompt "&selModePrompt";
    bitmap "icselect";
    category mode;
}

command SelectActiveMode {
    label  "&activeMode";
    prompt "&activeModePrompt";
    bitmap "ictest";
    category mode;
}

command SelectAttachmentsMode {
    label "&attachmentMode";
    prompt "&attachmentModeP";
    bitmap "icghmode";
    category mode;
    category gadgets;
}

command SelectFocusMode {
    label  "&focusMode";
    prompt "&focusModeP";
    bitmap "icfocus";
    category mode;
    category gadgets;
}

command SelectMenuMode {
    label "&menuMode";
    tooltip "&ttmenuMode";
    prompt "&menuModePrompt";
    bitmap "icmenu";
    category mode;
}

command SelectMatrixMode {
    label "&matrixMode";
    tooltip "&ttmatrixMode";
    prompt "&matrixModePrompt";
    bitmap "icmatrix";
    category mode;
}

command SelectSpinBoxMode {
    label "&spinBoxMode";
    prompt "&spinBoxModePrompt";
    bitmap "icspinb.gif";
    category mode;
}

command SelectGadgetContainerRectangleMode {
    label "GadgetContainerRectangle";
    prompt "&gadContPrompt";
    bitmap "icgadcont";
    category mode;
}

command SelectSCGadgetContainerRectangleMode {
    label "SCGadgetContainerRectangle";
    prompt "&scGadContPrompt";
    bitmap "icscgadcont";
    category mode;
}

command SelectSCGrapherRectangleMode {
    label "SCGrapherRectangle";
    prompt "&scGrapherPrompt";
    bitmap "icscgr";
    category mode;
}

command SelectSCManagerRectangleMode {
    label "SCManagerRectangle";
    prompt "&scMgrPrompt";
    bitmap "icscmgr";
    category mode;
}

command SelectLineMode {
    label "Line";
    prompt "&linePrompt";
    bitmap "icline";
    category mode;
}

command SelectReliefLineMode {
    label "ReliefLine";
    prompt "&relLinePrompt";
    bitmap "icrline";
    category mode;
}

command SelectArrowLineMode {
    label "ArrowLine";
    prompt "&arrowLinePrompt";
    bitmap "icarrow";
    category mode;
}

command SelectArcMode {
    label "Arc";
    prompt "&arcPrompt";
    bitmap "icarc";
    category mode;
}

command SelectFilledArcMode {
    label "FilledArc";
    prompt "&farcPrompt";
    bitmap "icfarc";
    category mode;
}

command SelectPolylineMode {
    label "Polyline";
    prompt "&polyLinePrompt";
    bitmap "icpline";
    category mode;
}

command SelectPolygonMode {
    label "Polygon";
    prompt "&polygonPrompt";
    bitmap "icpgon";
    category mode;
}

command SelectSplineMode {
    label "Spline";
    prompt "&splinePrompt";
    bitmap "icspline"
    category mode;
}

command SelectFilledSplineMode {
    label "FilledSpline";
    prompt "&fsplinePrompt";
    bitmap "icfspline";
    category mode;
}

command SelectClosedSplineMode {
    label "ClosedSpline";
    prompt "&closedSplinePrompt";
    bitmap "iccspline";
    category mode;
}

command SelectPolySelectionMode {
    label "PolySelection";
    prompt "&polySelectionPrompt";
    bitmap "icedpoly";
    category mode;
}

command SelectLabelMode {
    label "Label";
    prompt "&labelPrompt";
    bitmap "iclabel";
    category mode;
}

command SelectLabelListMode {
    label "LabelList";
    prompt "&labelListPrompt";
    bitmap "icllabel";
    category mode;
}

command SelectZoomMode {
    label  "&sZoomM";
    prompt "&sZoomMP";
    bitmap "iczoomm";
    category mode;
    category 2d;
}

command SelectUnZoomMode {
    label  "&sUZoomM";
    prompt "&sUZoomMP";
    bitmap "icuzoomm";
    category mode;
    category 2d;
}

command SelectTranslateMode {
    label  "&sTranslateM";
    prompt "&sTranslateMP";
    bitmap "ictransm";
    category mode;
    category 2d;
}

command SelectRotateMode {
    label  "&sRotateM";
    prompt "&sRotateMP";
    bitmap "icrotm";
    category mode;
    category 2d;
}

command SelectLinkImageMode {
    label "&sLinkImageM";
    prompt "&sLinkImageMP";
    bitmap "iclnm";
    category mode;
    category grapher;
}

command SelectOrientedLinkImageMode {
    label "&sOrientedLinkImageM";
    prompt "&sOrientedLinkImageMP";
    bitmap "icolnm";
    category mode;
    category grapher;
}

command SelectOneLinkImageMode {
    label "&sOneLinkImageM";
    prompt "&sOneLinkImageMP";
    bitmap "ic1lnm";
    category mode;
    category grapher;
}

command SelectOrientedOneLinkImageMode {
    label "&sOrientedOneLinkImageM";
    prompt "&sOrientedOneLinkImageMP";
    bitmap "ico1lnm";
    category mode;
    category grapher;
}

command SelectOneSplineLinkImageMode {
    label "&sOneSplineLinkImageM";
    prompt "&sOneSplineLinkImageMP";
    bitmap "ic1slnm";
    category mode;
    category grapher;
}

command SelectOrientedOneSplineLinkImageMode {
    label "&sOrientedOneSplineLinkImageM";
    prompt "&sOrientedOneSplineLinkImageMP";
    bitmap "ico1slnm";
    category mode;
    category grapher;
}

command SelectDoubleLinkImageMode {
    label "&sDoubleLinkImageM";
    prompt "&sDoubleLinkImageMP";
    bitmap "icdlnm";
    category mode;
    category grapher;
}

command SelectOrientedDoubleLinkImageMode {
    label "&sOrientedDoubleLinkImageM";
    prompt "&sOrientedDoubleLinkImageMP";
    bitmap "icodlnm";
    category mode;
    category grapher;
}

command SelectDoubleSplineLinkImageMode {
    label "&sDoubleSplineLinkImageM";
    prompt "&sDoubleSplineLinkImageMP";
    bitmap "icdslnm";
    category mode;
    category grapher;
}

command SelectOrientedDoubleSplineLinkImageMode {
    label "&sOrientedDoubleSplineLinkImageM";
    prompt "&sOrientedDoubleSplineLinkImageMP";
    bitmap "icodslnm";
    category mode;
    category grapher;
}

command MakeNode {
    label "&makeNode";
    prompt "&makeNodeP";
    bitmap "icmknode";
    category grapher;
}

// Object properties

command SetName {
    label "&mname...";
    prompt "&namePrompt";
    category property;
}

command SetCallback {
    label "&mcallback...";
    prompt "&callbackPrompt";
    category property;
}

command SetObjectInteractor {
    label "&minteractor...";
    prompt "&setObjectInteractorP";
    category property;
}

command SetToolTip {
    label "&toolTip...";
    prompt "&toolTipP";
    category property;
};

command SetThickness {
    label "&mthickness...";
    prompt "&thicknessPrompt";
    category property;
}

command SetLayer {
    label "&mlayer...";
    prompt "&layerPrompt";
    category property;
}

command ToggleState {
    label "&mstate";
    prompt "&statePrompt";
    category property;
}

command GeneratePanel {
    interactive false;
    label "&generatePanel";
    bitmap "iccode";
}

// --- application ---

command NewPanelClass {
    label "&newPanelClass";
    prompt "&newPanelClassP";
    bitmap "icaddbuf.gif";
    category application;
}

command RemovePanelClass {
    label  "&removePanelClass";
    prompt "&removePanelClassP";
    bitmap "icrembuf.gif";
    category application;
}

command AddPanel {
    label "&addPan";
    prompt "&addPanPrompt";
    category application;
}

command RemovePanel {
    label "&remPan";
    prompt "&remPanPrompt";
    category application;
}

command NewApplication {
    label "&application";
    prompt "&newAppPrompt";
    category application;
    messages NewApplication;
}

command MakeDefaultApplication {
    label  "&makeDefaultApplication";
    prompt "&makeDefaultApplicationP";
    category application;
}

command OpenApplication {
    label "&mopen...";
    tooltip "&ttmopen...";
    acceleratorText "Ctrl+O";
    acceleratorDefinition "<Ctrl><Key O>";
    prompt "&openAppliPrompt";
    bitmap "icopen";
    messages NewApplication;
    category application;
}

command SaveApplication {
    label  "&msave";
    tooltip  "&ttmsave";
    acceleratorText "Ctrl+S";
    acceleratorDefinition "<Ctrl><Key S>";
    prompt "&saveAppli";
    bitmap "icsave";
    category application;
}

command SaveApplicationAs {
    label  "&msaveAs...";
    tooltip  "&ttmsaveAs...";
    bitmap "icsaveas";
    prompt "&saveAppliAs...";
    category application;
    messages SaveApplicationAs;
}

command ShowAllTestPanels {
    label "&mshowTestPan";
    prompt "&showTestPanPrompt";
    category application;
    category panel;
}

command KillTestPanels {
    label "&mkillTestPan";
    prompt "&killTestPanPrompt";
    category application;
    messages KillTestPanels;
}

command TestApplication {
    label "&mtest";
    tooltip "&ttmtest";
    toggleLabel "&stopTest";
    prompt "&testAppPrompt";
    togglePrompt "&stopTest";
    bitmap "icrun";
    category application;
    messages TestApplication;
}

command Generate {
    label "&generate";
    tooltip "&ttgenerate";
    prompt "&genCodePrompt";
    bitmap "iccode";
    category application;
    messages ClassesGenerated;
}

command GenerateAll {
    label "&generateAll";
    prompt "&genAllPrompt";
    category application;
    messages ClassesGenerated;
}

command GenerateApplication {
    label "&genAppLabel";
    prompt "&generateAppPrompt";
    category application;
    messages GenerateApplication;
}

command GeneratePanelClass {
    label "&genPanClass";
    tooltip "&ttgenPanClass";
    bitmap "iccode";
    prompt "&genPanClassPrompt";
    category application;
    messages GeneratePanelClass;
}

command GeneratePanelSubClass {
    label  "&genPanSubClass";
    prompt "&genPanSubClassP";
    category application;
}

command GenerateMakeFile {
    label "&genMakeFile";
    prompt "&genMakeFilePrompt";
    category application;
}

command OpenDocument {
    label  "&mopen...";
    tooltip  "&ttmopen...";
    prompt "&openDocumentP";
    acceleratorText "Ctrl+O";
    acceleratorDefinition "<Ctrl><Key O>";
    bitmap "icopen";
    category document;
}

command CloseDocument{
    label "&mclose";
    prompt "&closeDocumentP";
    category document;
}

command GenerateDocument {
    label "&generate";
    tooltip "&ttgenerate";
    prompt "&genDocumentP";
    bitmap "iccode";
    category document;
}

command InspectDocument {
    label  "&inspectDocument";
    prompt "&inspectDocumentP";
    // bitmap "icinsp";
    category document;
};

command RevertDocument {
    label  "&revert";
    prompt "&revertP";
    category document;
}

command SaveDocument{
    label  "&msave";
    tooltip  "&ttmsave";
    acceleratorText "Ctrl+S";
    acceleratorDefinition "<Ctrl><Key S>";
    prompt "&saveDocumentP";
    bitmap "icsave";
    category document;
}

command SaveDocumentAs {
    label "&msaveAs...";
    tooltip "&ttmsaveAs...";
    prompt "&saveDocumentAsP";
    bitmap "icsaveas";
    category document;
}

command TestDocument {
    label "&mtest";
    tooltip "&ttmtest";
    toggleLabel "&stopTest";
    prompt "&testDocumentP";
    togglePrompt "&stopTest";
    bitmap "icrun";
    category document;
}

command ShowClassPalette {
    label "&classes";
    prompt "&showClassPaletteP";
    bitmap   "icshowcp.gif";
    category application;
    category panel;
}

command HideClassPalette {
    label "&close";
    prompt "&closeClassPaletteP";
    bitmap  "icquit";
    category application;
    category panel;
}

command EditApplication {
    label  "&editAppli";
    prompt "&editAppliP";
    bitmap "icapped";
    category application;
}

command ShowPanelClassInspector {
    label  "&inspPanClass";
    prompt "&inspPanClassP";
    bitmap "icpci.gif";
    category application;
    category panel;
};

command ShowApplicationInspector {
    label   "&inspAppli";
    prompt  "&inspAppliP";
    bitmap "icappi.gif";
    category application;
    category panel;
}

command SelectParentState {
    label   "&selectParentState";
    prompt  "&selectParentStateP";
    bitmap  "icup.gif";
    category state;
}

command NewStateSubset {
    label   "&newStateSubset";
    prompt  "&newStateSubsetP";
    bitmap  "icnewss.gif";
    category state;
}

command RenameStateSubset {
    label   "&rename";
    prompt  "&renameStateSubsetP";
    bitmap  "icrenss.gif";
    category state;
}

command RemoveStateSubset {
    label   "&remove";
    prompt  "&removeStateSubsetP";
    bitmap  "icremss.gif";
    category state;
}

command NewState {
    label   "&newState";
    prompt  "&newStateP";
    bitmap  "icnewst.gif";
    category state;
}

command NewRootState {
    label    "&newRootState";
    prompt   "&newRootStateP";
    bitmap   "icnewst.gif";
    category state;
}

command RenameState {
    label   "&rename";
    prompt  "&renameStateP";
    bitmap  "icrenst.gif";
    category state;
}

command RemoveState {
    label   "&remove";
    prompt  "&removeStateP";
    bitmap  "icremst.gif";
    category state;
}

command NewStateRequirement {
    label   "&newStateRequirement";
    prompt "&newStateRequirementP";
    bitmap "icnew.gif";
    category state;
}

command RemoveStateRequirement {
    label   "&removeStateRequirement";
    acceleratorText "Del";
    prompt "&removeStateRequirementP";
    bitmap "icrem.gif";
    category state;
}

command OpenStateFile {
    category state;
    category debug;
}

command SaveStateFile {
    category state;
    category debug;
}

command ShowStateTree {
    label  "&stateTree";
    prompt "&stateTreeP";
    category state;
    category panel;
}

command ShowStateInspector {
    label   "&stateInsp";
    prompt  "&stateInspP";
    category state;
    category panel;
}

command EditStates {
    label   "&editStates"
    prompt  "&editStatesP";
    category state;
    category panel;
}

command HelpMainPanel {
    label   "&helpMainPanel";
    prompt  "&helpMainPanelP";
    bitmap "ichelp.gif";
    category panel;
}

command HelpStateInspector {
    label  "&help";
    prompt "&helpStateInspectorP";
    bitmap "ichelp.gif";
    category panel;
}

command HelpStateTree {
    label "&help";
    prompt "&helpStateTreeP";
    bitmap "ichelp.gif";
    category panel;
}

command HelpClassPalette {
    label "&help";
    prompt "&helpClassPaletteP";
    bitmap "ichelp.gif";
    category panel;
}

command LoadMessageDatabase {
    label "&loadMessageDatabase";
    prompt "&loadMessageDatabaseP";
    category studio;
}

command ShowTextEditor{
    label  "&showTextEditor";
    prompt "&showTextEditorP";
    category panel;
}

command HideTextEditor{
    label  "&hideTextEditor";
    prompt "&hideTextEditorP";
    category panel;
}

command ShowGenericInspector {
    label "&showGenericInspector";
    prompt "&showGenericInspectorP";
    bitmap "icginsp.gif";
    category panel;
}

command SaveAll {
    label  "&saveAll";
    prompt "&saveAllP";
    category buffer;
}
